package org.apache.servicecomb.samples.practise.houserush.user.center.rpc;

import org.apache.servicecomb.samples.practise.houserush.user.center.rpc.po.Favorite;
import org.apache.servicecomb.samples.practise.houserush.user.center.rpc.po.HouseOrder;
import org.apache.servicecomb.samples.practise.houserush.user.center.rpc.po.Sale;

import java.util.List;

/**
 * @Author: Snake Man
 * @system:
 * @DateTime: 2022/1/22 16:52
 * @Description:
 */
public interface HouseOrderApi {
    List<Favorite> findMyFavorite(int customerId);
    List<Sale> findSaleByRealestateId(int realestateId);
    HouseOrder findOne(int houseOrderId);
    List<HouseOrder> findAllByCustomerId(int cucustomerId);
    HouseOrder findAllByHouseId(Integer houseId);
}
